package com.qys.livesMall.system.model.vo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class PlatformAdvertisementVo implements Serializable {
    private Long id;

    @Schema(description = "广告名称")
    private String name;

    @Schema(description = "位置 0：首页 1：其他")
    private Integer position;

    @Schema(description = "状态 0：上线 1：下线 ")
    private Integer state;

    @Schema(description = "状态 0：上线 1：下线 ")
    private String stateStr;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime createTime;

    @Schema(description = "创建时间 -时间戳")
    private Long createlongtime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "轮播图信息 - 详情时传")
    private List<PlatformAdvertisementDetailVO> platformAdvertisementDetailVOS;
}
